package com.example.cloudsentinel.fegin;


import com.example.cloudsentinel.fegin.fallback.UserFeignFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "user-service",fallback = UserFeignFallBack.class)
public interface UserFeign {


    @GetMapping("getUserInfo")
    String getUserInfo();

}
